// api/index.js
import axios from 'axios'

const BASE_URL = 'http://localhost:3001'

/**
 * 获取目录树数据
 * @returns {Promise} 目录树的结构化数据
 */
export function getTop32(params) {
  return axios.get(`${BASE_URL}/accuracy-analysis/top-32`, { params })
}

export function getExample(params) {
  return axios.get(`${BASE_URL}/accuracy-analysis/example`, { params })
}
